<?php
/**
 * desinstallation de extcal
 * */
 $query = "DROP TABLE `immo_extcal_categories`, `immo_extcal_config`, `immo_extcal_events`, `immo_extcal_groups`, `immo_extcal_plugins`, `immo_extcal_templates`, `immo_extcal_users`;";
 $db->sql_query("DELETE FROM immo_plugins WHERE fichier = 'extCal'");
 $db->sql_query($query);
 echo '<div>Plugins <strong>extCal</strong> desinstaller de IMMOPHP</div>';
 echo '<div>Desinstallation terminee !</div>';